<template>
  <div class="box">
    <h3><van-icon name="fire" />热门活动</h3>
    <div @click="fun()" class="box1">
      <img :src="img" alt="" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      img: "./img/life/shuzirenminbi.png",
    };
  },
  methods: {
    fun() {
      this.$router.push("/shuzi");
    },
  },
};
</script>

<style lang="scss" scoped>
.box {
  width: 100%;
  background-color: rgb(243, 226, 229);
  > h3 {
    line-height: 0.5rem;
    width: 100%;
    height: 0.5rem;
    margin-top: 0.2rem;
    font-size: 0.22rem;
    text-indent: 0.3em;
  }
  > .box1 {
    text-align: center;
    > img {
      width: 3.5rem;
    }
  }
}
</style>